export interface CaptchaResult {
  captchaImg: string;
  token: string;
}

export interface LoginOption {
  groupId: string;
  username: string;
  password: string;
  token: string;
}

export interface LoginResult {
  token: string;
  tznUser: tznUser;
}

export interface tznUser {
  areaId: any;
  createTime: string;
  id: string;
  name: string;
  number: string;
  password: string;
  status: string;
  type: string;
}

//供应商
export interface vendorData {
  id: string;
  name: string;
  code: string;
}

//人员信息
export interface userData {
  id?: string;
  name: string;
  number: string;
  type: string;
  areaId: string;
  status?: string;
  password?: string;
}

//合作商信息
export interface partnerData {
  id?: string;
  name: string;
  user: string;
  number: string;
  vendorid: string;
  code: string;
  status?: string;
}

//学校信息
export interface schoolData {
  cshopid: string;
  cshopname: string;
}

//商品大类信息
export interface classData {
  cdesc: string;
  cclass: string;
  inum: string;
}

//供应商接口
export interface supplierData {
  ghId: string;
  ghName: string;
  cclass: string;
  cdesc: string;
}

//绑定供应商参数接口
export interface bindSupplierOption {
  scName: string;
  shopId: string;
  clName: string;
  cClass: string;
  ghName: string;
  ghId: string;
}

//汇总采购单接口参数
export interface sumPurchaseOrderOption {
  beginTime: string;
  endTime: string; //
  vendorId: string; //
}

//查询采购单(按学校｜大类)
export interface sumOrderListByIdOption {
  goodsClass?: string;
  shopId?: string; //
  vendorid: string; //
}

//配送单详情接口
export interface divideDetailData {
  name: string;
  format: string;
  price: string;
  num: string;
  vendorid: string;
  cunit: string;
}

//导出接口
export interface exportfile {
  title: string;
  sheetName: string; 
  fileName: string; 
  response: string; 
  code: string; 
}
//获取人员信息
export interface userfile {
  name: string;
}
// 打印汇总接口
export interface printSummaryList {
  goodsClass: string;
  // shopId: string; 
  vendorid: string;
  beginTime:string,
  endTime:string
}